package com.lilihub.miaosha.redis;

/**
 * @BelongsProject: miaosha2
 * @BelongsPackage: com.lilihub.miaosha.redis
 * @Author: LiYing
 * @CreateTime: 2021-04-26 15:34
 * @Description:
 */
public class AccessKey extends BasePrefix{

    private AccessKey(int expireSeconds, String prefix) {
        super(expireSeconds,prefix);
    }


    public static AccessKey withExpire(int expireSeconds){
        return new AccessKey(expireSeconds,"access");
    }


}
